//
//  MainTableViewCell.m
//  OtakuWorld
//
//  Created by iOS Two on 14-9-22.
//  Copyright (c) 2014年 iOS Two. All rights reserved.
//

#import "MainTableViewCell.h"

@implementation MainTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        _image = [[UIImageView alloc]initWithFrame:CGRectMake(9, 9, 68, 51)];
        [self addSubview:_image];
        
        _name = [[UILabel alloc]initWithFrame:CGRectMake(85, 5, 200, 39)];
        _name.font = [UIFont fontWithName:@"STXIHEI" size:14];
        _name.numberOfLines = 0;
        _name.textColor = [UIColor colorWithRed:0.26 green:0.26 blue:0.26 alpha:1];
        [self addSubview:_name];
        
        _data = [[UILabel alloc]initWithFrame:CGRectMake(85, 47, 200, 13)];
        _data.font = [UIFont fontWithName:@"STXIHEI" size:13];
        _data.textColor = [UIColor colorWithRed:0.49 green:0.49 blue:0.49 alpha:1];
        [self addSubview:_data];
        
        UIImageView *line = [[UIImageView alloc]initWithFrame:CGRectMake(0, 66.5, 320, 1)];
        line.backgroundColor = [UIColor colorWithRed:0.85 green:0.85 blue:0.86 alpha:1];
        [self addSubview:line];
    }
    return self;
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
